package jdk5.annotation;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

public class TestAnnotation {

    public static void main(String[] args) {
        List<String> list = new ArrayList<>();
        list.add("aa");
        m(list);

    }

    @SafeVarargs
    static void m(List<String>... stringLists) {
        Object[] array = stringLists;
        List<Integer> tmpList = Arrays.asList(42);
        array[0] = tmpList;
        String s = stringLists[0].get(0);
        System.out.printf(s);
    }
}
